Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resource limits for Vertex #529

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Add resource limits for Vertex #529

merged 2 commits into from
Oct 18, 2023

Conversation

RobbeSneyders
Copy link
Member

This was necessary to be able to allocate enough memory. Added the missing ones to the KfP compiler as well.

Proof that it works: https://console.cloud.google.com/vertex-ai/locations/europe-west1/pipelines/runs/datacomp-filtering-pipeline-20231017201538?project=soy-audio-379412

number_of_accelerators = fondant_component_operation.number_of_accelerators
accelerator_name = fondant_component_operation.accelerator_name

# Assign optional specification
if cpu_limit is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also add the cpu/memory request for Vertex?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the docs, it only supports limits.

@RobbeSneyders RobbeSneyders merged commit 60f0ee2 into main Oct 18, 2023
5 of 6 checks passed
@RobbeSneyders RobbeSneyders deleted the feature/vertex-limites branch October 18, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants